﻿using BLL.Sys;
using DEL.Sys;
using Microsoft.AspNetCore.Authorization;
using System.Collections.Generic;
using System.Linq;

// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860

namespace Web.Areas.Sys.Controllers
{
    [Authorize(Roles = "super")]
    public class RoleController : SysController<Role>
    {

        protected override void SetCurrentEntityService()
        {
            CurrentEntityService = BLLFactory.SetRoleService();
        }


        public override void SetIsASC()  //可以在子类中覆盖此方法，设置isASC为false则按降序排
        {
            IsASC = true;
        }

    }
}
